tweak cmake org target. (#815)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Thu, 6 Jan 2022 22:40:29 +0000 (15:40 -0700)
committerGitHub <noreply@github.com>
Thu, 6 Jan 2022 22:40:29 +0000 (15:40 -0700)
CMakeLists.txt

index 19b93b3e9deb11b552062d941e76e1aa08ad2b7d..2a7d805c1c913a63d8f14b0331359dc86d79d862 100644 (file)
@@ -521,8 +521,9 @@ endif()
 if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
   set(WEB "../babelweb" CACHE PATH "Path where the documentation will be stored for www.gpsbabel.org.")
   add_custom_target(gpsbabel.org
-                    ${CMAKE_BINARY_DIR}/tools/make_gpsbabel_org.sh ${WEB} ${DOCVERSION}
-                    DEPENDS gpsbabel gpsbabel.pdf)
+                    ${CMAKE_SOURCE_DIR}/tools/make_gpsbabel_org.sh ${WEB} ${DOCVERSION}
+                    DEPENDS gpsbabel gpsbabel.pdf
+                    VERBATIM)
 endif()
 
 if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)